obj-m := m2.o

ifeq ("${KDIR}", "")
KDIR := /lib/modules/$(shell uname -r)/build
endif

all:
	$(MAKE) -C $(KDIR) M=$(CURDIR) modules
clean:
	$(MAKE) -C $(KDIR) M=$(CURDIR) clean